<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>login</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="style/style.css" />

  </head>
  <body>
    <center>
    <div id ="wrap">
		
	
			<jsp:include page="head.jsp"></jsp:include>
			
			<div id="center_pad1">
			<form action="login.do" method="post">
			<p>
			用户名
			  <input type="text" name="username"></p>
			  <p>
			 密码 
		       <input type="password" name="password"></p>
			  <p>
			  自动登录
			  <input type="radio" name="cookies" value="365">
			  一年 &nbsp;
			  <input type="radio" name="cookies" value="30">
			  一个月 &nbsp;
			  <input type="radio" name="cookies" value="14">
			  两周&nbsp;
			  <input type="radio" name="cookies" value="0" checked="checked">
			  不自动登录 </p>
			  <p>
			    <label>
			    <input type="submit" name="Submit" value="登陆">
			    </label>	
			    <label>
			    <input name="reset" type="reset" id="reset" value="取消">
			    </label>
			  </form>
			</div>
			
			<jsp:include page="foot.jsp"></jsp:include>
  </div>
  </body>
</html>
